/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.cratos.xxgram.platf.message;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 *
 * @author SquRab
 */
@Table(comment = "消息历史表")
public class MessageRecordHis extends MessageRecord {
    
    @Transient
    protected String fromname;//发送人
    @Transient
    protected String targetname;//接收人
    
    @Column(comment = "删除  80")
    private short del = 10;
    
    public String getFromname() {
        return fromname;
    }

    public void setFromname(String fromname) {
        this.fromname = fromname;
    }
    
    public String getTargetname() {
        return targetname;
    }

    public void setTargetname(String targetname) {
        this.targetname = targetname;
    }
    
    public short getDel() {
        return del;
    }

    public void setDel(short del) {
        this.del = del;
    }
}
